@import './mixin.scss';
@import './styles.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

/* 防止样式污染 - 隔离mask相关样式 */
.mask {
  /* 重置可能被污染的mask样式 */
  position: static !important;
  background: transparent !important;
  z-index: auto !important;
  pointer-events: auto !important;
}

/* 防止装修页面样式污染其他页面 */
.devise_head {
  /* 限制装修页面头部样式的作用范围 */
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 66px !important;
  z-index: 10 !important;
}

/* 确保装修页面样式只在特定容器内生效 */
body:not(.pagediy-page) .devise_head {
  display: none !important;
}

/* 页面装修页面专用样式保护 */
.pagediy-container {
  /* 确保页面装修容器及其子元素可以正常接收点击事件 */
  pointer-events: auto !important;
  
  * {
    pointer-events: auto !important;
  }
  
  /* 特殊处理iframe遮罩层 */
  .iframe-mask {
    pointer-events: none !important;
  }
  
  /* 确保拖拽区域可以正常交互 */
  .dragArea {
    pointer-events: auto !important;
    /* 优化拖拽触摸性能 */
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  /* 确保按钮和可点击元素正常工作 */
  button, .el-button, [role="button"], .cursor-pointer {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}
a.no-underline {
  text-decoration: none;
}
a,
a:focus,
a:hover {
  cursor: pointer;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

.components-container {
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

.link {
  color: #409eff;
  cursor: pointer;
}

.row_title {
  width: 170px !important;
}
.borderSolid {
  border: 1px solid #f5f5f5;
}
.bdbtmSolid {
  border-bottom: 1px solid #f5f5f5;
}
.desc {
  color: #999;
  font-size: 12px;
  line-height: 16px;
  margin: 0;
}
